//
//  HomeLabelListCell.m
//  ArtDog
//
//  Created by dllo on 16/9/1.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "HomeLabelListCell.h"
#import "HomeLabelList.h"
#import "UIImageView+WebCache.h"

@interface HomeLabelListCell ()

@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;

@end

@implementation HomeLabelListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
}

- (void)setLabelModel:(HomeLabelList *)labelModel
{
    _labelModel = labelModel;
    _titleLabel.text = labelModel.label;
    [_iconImageView sd_setImageWithURL:[NSURL URLWithString:labelModel.labelPic] placeholderImage:[UIImage imageNamed:@"placeholder"]];
}

@end
